package com.sip.stream.utils.zfy;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import java.util.Date;

public class ZFYMediaInfo {
    private boolean checked = false;
    @SerializedName("complete")
    private boolean complete;
    @SerializedName("createdate")
    private Date createdate;
    @SerializedName("duration")
    private long duration;
    @SerializedName("fileId")
    private String fileId;
    @SerializedName("filename")
    private String filename;
    @SerializedName("filepath")
    private String filepath;
    @SerializedName("filesize")
    private long filesize;
    @SerializedName("filetype")
    private int filetype;
    @SerializedName("important")
    private boolean important;
    @SerializedName("md5")
    private String md5;
    @SerializedName("updatedate")
    private Date updatedate;
    @SerializedName("uploaddate")
    private Date uploaddate;
    @SerializedName("userCode")
    private String userCode;


    public String getFileId() {
        return this.fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getUserCode() {
        return this.userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getFilename() {
        return this.filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFilepath() {
        return this.filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public int getFiletype() {
        return this.filetype;
    }

    public void setFiletype(int filetype) {
        this.filetype = filetype;
    }

    public long getFilesize() {
        return this.filesize;
    }

    public void setFilesize(long filesize) {
        this.filesize = filesize;
    }

    public long getDuration() {
        return this.duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public Date getCreatedate() {
        return this.createdate;
    }

    public void setCreatedate(Date date) {
        this.createdate = date;
    }

    public Date getUpdatedate() {
        return this.updatedate;
    }

    public void setUpdatedate(Date date) {
        this.updatedate = date;
    }

    public boolean isImportant() {
        return this.important;
    }

    public void setImportant(boolean important) {
        this.important = important;
    }

    public boolean isComplete() {
        return this.complete;
    }

    public void setComplete(boolean complete) {
        this.complete = complete;
    }

    public Date getUploaddate() {
        return this.uploaddate;
    }

    public void setUploaddate(Date date) {
        this.uploaddate = date;
    }

    public String getMd5() {
        return this.md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public boolean isChecked() {
        return this.checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String toString() {
        return new Gson().toJson(this);
    }
}
